package com.geekbg.zookeeper.me1;

import lombok.extern.slf4j.Slf4j;
import org.apache.zookeeper.WatchedEvent;
import org.apache.zookeeper.Watcher;

/**
 * @author pizhihui
 * @date 2020-09-11
 */
public class ZKWatcherDemo implements Watcher {
    @Override
    public void process(WatchedEvent event) {

//        LOG.debug(prefix("Received ZooKeeper Event, " +
//                "type=" + event.getType() + ", " +
//                "state=" + event.getState() + ", " +
//                "path=" + event.getPath()));



    }
}
